import 'package:flutter/material.dart';
import 'package:qqmusic/widget/item2.dart';

class diantai extends StatelessWidget {
  const diantai({Key key}) : super(key: key);

  @override
  Widget build(BuildContext context) {
    return Column(
      crossAxisAlignment: CrossAxisAlignment.start,
      children: [
        Container(
          margin: EdgeInsets.only(right: 10),
          padding: EdgeInsets.all(15),
          decoration: BoxDecoration(
              color: Color(0xff7ba8c9),
              borderRadius: BorderRadius.circular(10)),
          child: Row(
            children: [
              Column(
                crossAxisAlignment: CrossAxisAlignment.start,
                mainAxisAlignment: MainAxisAlignment.spaceBetween,
                children: [
                  Text(
                    '个性电台',
                    style: TextStyle(
                        color: Colors.white,
                        fontSize: 20,
                        fontWeight: FontWeight.w900),
                  ),
                  Container(
                    child: Column(
                      crossAxisAlignment: CrossAxisAlignment.start,
                      children: [
                        Text(
                          '早上好',
                          style: TextStyle(
                              color: Colors.white, fontWeight: FontWeight.w700),
                        ),
                        Container(
                          child: Text(
                            '您的私人音乐馆营业中',
                            style: TextStyle(color: Colors.white, fontSize: 12),
                          ),
                        )
                      ],
                    ),
                  )
                ],
              ),
              Container(
                // padding: EdgeInsets.all(10),
                height: 100,
                width: 100,
                margin: EdgeInsets.only(left: 10),
                decoration: BoxDecoration(
                    color: Color(0xff108a6c),
                    borderRadius: BorderRadius.circular((5))),
                child: Stack(
                  children: [
                    ClipRRect(
                      borderRadius: BorderRadius.circular(5),
                      child: Image(
                        fit: BoxFit.cover,
                        width: 100,
                        height: 100,
                        image: NetworkImage(
                          'https://img2.baidu.com/it/u=264241015,3058915791&fm=253&fmt=auto&app=138&f=JPEG?w=500&h=333',
                        ),
                      ),
                    ),
                    Positioned(
                        left: 10,
                        bottom: 10,
                        child: Container(
                          decoration: BoxDecoration(
                              color: Colors.white,
                              borderRadius: BorderRadius.circular(15)),
                          height: 30,
                          width: 30,
                          child: Icon(Icons.play_arrow),
                        ))
                  ],
                ),
              )
            ],
          ),
        ),
        Container(
          margin: EdgeInsets.only(top: 10),
          child: Text(
            '诗画 - 宋钥',
            style: TextStyle(fontWeight: FontWeight.w600),
          ),
        ),
      ],
    );
  }
}
